﻿using System.Data;
using MyWeb.Data;

namespace MyWeb.Business
{
	public class tblSTUDENTService
	{
		private static readonly tblSTUDENTDAL db = new tblSTUDENTDAL();
		#region[tblSTUDENT_GetById]
		public static DataTable tblSTUDENT_GetById(string Id)
		{
			return db.tblSTUDENT_GetById(Id);
		}
		#endregion
		#region[tblSTUDENT_GetByAll]
		public static DataTable tblSTUDENT_GetByAll()
		{
			return db.tblSTUDENT_GetByAll();
		}
		#endregion
		#region[tblSTUDENT_GetByTop]
		public static DataTable tblSTUDENT_GetByTop(string Top, string Where, string Order)
		{
			return db.tblSTUDENT_GetByTop(Top, Where, Order);}
		#endregion
		#region[tblSTUDENT_Insert]
		public static void tblSTUDENT_Insert(tblSTUDENTInfo Data)
		{
			 db.tblSTUDENT_Insert(Data);
		}
		#endregion
		#region[tblSTUDENT_Update]
		public static void tblSTUDENT_Update(tblSTUDENTInfo Data)
		{
			 db.tblSTUDENT_Update(Data);
		}
		#endregion
		#region[tblSTUDENT_Delete]
		public static void tblSTUDENT_Delete(string Id)
		{
			 db.tblSTUDENT_Delete(Id);
		}
		#endregion
		#region[tblSTUDENT_GetByCLASS_ID]
		public static DataTable tblSTUDENT_GetByCLASS_ID(string CLASS_ID)
		{
			 return db.tblSTUDENT_GetByCLASS_ID(CLASS_ID);
		}
		#endregion
	}
}